#!/bin/bash
#name=
extb=.bmp
extj=.jpg

for f in *.bmp 
	do 
	    name=${f%.*}
	    convert $f $name$extj
	done




